package com.example.minademo.service;

import com.example.minademo.entity.User;

public interface UserService {

    User findUserById(Integer id);

    boolean saveUser(User user);

    User findByNameAndPassword(String name,String password);

    User findUserByName(String name);

}
